<!DOCTYPE html>
<html lang="en">
<head>
 <style type="text/css">
 	#heading{
 		color: #505E63;
 	}
 	.btn.btn-3 a:link{
        color: blue;
      }
 </style>
</head>
<body>
	<!--头部登录注册-->
	<nav id="top" style="background-color: #8ABD8D; height:40px; margin:0px; padding: 0px;">
		<div class="container" style ="margin:0px; padding: 0px;" >
			<div class="row" style ="margin:0px; padding: 0px;">
				<div class="col-xs-6" style="line-height: 40px; margin:0px; padding: 0px;">
				</div>
                <!-- 做判断用户登录成功 -->
                {if !empty($_SESSION) && session('name') === 'admin'}
				<div class="col-xs-6" style="line-height: 40px; margin:0px; padding: 0px;">
					<ul class="top-link" style="line-height: 40px; margin:0px; padding: 0px;">
						<li style="border:none"><a class="btn btn-3" href="/index/user/info"><span class="glyphicon glyphicon-user "></span>个人中心&nbsp;</a></li>
						<li style="border:none"><a  class="btn btn-3" href="/index/user/logout">退出登陆</a></li>
						<li style="border:none"><a  class="btn btn-3" href="/admin/index/index">后台管理</a></li>
						<li style="border:none">
						<a  class="btn btn-3" id="btn-3" href="/index/goods/balance" class="shopcart-logo">
					     <img src="/images/shopcart.png" alt="">&nbsp;购物车(0)
					     <span class="shopcart-number cart-count hidden"></span>
				       </a>
				        <!-- <div class="shopcart-null cart-content">
					<div class="remind">
						购物车中还没有商品,快快选购吧!
						<img src="/images/zhongxing/images/smile.png" alt="">
					</div>
				        </div> -->
				      </li>
					</ul>
				</div>
				{elseif !empty($_SESSION) && session('name')}
				<div class="col-xs-6" style="line-height: 40px; margin:0px; padding: 0px;">
					<ul class="top-link" style="line-height: 40px; margin:0px; padding: 0px;">
						<li style="border:none"><a class="btn btn-3" href="/index/user/info"><span class="glyphicon glyphicon-user"></span>个人中心&nbsp;</a></li>
						<li style="border:none"><a  class="btn btn-3" href="/index/user/logout">退出登陆</a></li>
					</ul>
				</div>
				{else}
				<div class="col-xs-6" style="line-height: 40px; margin:0px; padding: 0px">
					<ul class="top-link" style="line-height: 40px; margin:0px; padding: 0px;">
						<li style="border:none"><a  class="btn btn-3" href="/index/user/login"><span class="glyphicon glyphicon-user"></span>你好，请登录&nbsp;</a></li>
						<li style="border:none"><a class="btn btn-3" href="/index/user/register">注册</a></li>
					</ul>
				</div>
				{/if}
			</div>
		</div>
	</nav>
	{__CONTENT__}
	<!-- 尾部 -->
	<hr style="width:95%; background-color:#B0B0B0;height: 1px; ">
	<footer style="background-color:#F5F5F5;color: #000000">
		<div class="container" style="background-color: #F5F5F5;color: #000000">
			<div class="wrap-footer">
				<div class="row">
					<div class="col-md-3 col-footer footer-1">
					   <a href="/">	<img src="/images/logofooter.png" /> </a>
						<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem Ipsum is simply dummy text of the printing and typesetting industry</p>
					</div>
					<div class="col-md-3 col-footer footer-2">
						<div class="heading"><h4 id="heading">客户服务</h4></div>
						<ul>
							<li style="list-style-type:none;"><a href="#">关于我们</a></li>
							<li style="list-style-type:none;"><a href="#">配送信息</a></li>
							<li style="list-style-type:none;"><a href="#">隐私政策</a></li>
							<li style="list-style-type:none;"><a href="#">条款和条件</a></li>
							<li style="list-style-type:none;"><a href="#">联系我们</a></li>
						</ul>
					</div>
					<div class="col-md-3 col-footer footer-3">
						<div class="heading"><h4 id="heading">我的帐户</h4></div>
						<ul>
							<li style="list-style-type:none;"><a href="#">我的帐户</a></li>
							<li style="list-style-type:none;"><a href="#">品牌</a></li>
							<li style="list-style-type:none;"><a href="#">礼券</a></li>
							<li style="list-style-type:none;"><a href="#">特价</a></li>
							<li style="list-style-type:none;"><a href="#">网站地图</a></li>
						</ul>
					</div>
					<div class="col-md-3 col-footer footer-4">
						<div class="heading"><h4 id="heading">联系我们</h4></div>
						<ul>
							<li><span class="glyphicon glyphicon-home"></span>加利福尼亚，美国3000009</li>
							<li><span class="glyphicon glyphicon-earphone"></span>+91 8866888111</li>
							<li><span class="glyphicon glyphicon-envelope"></span>infor@yoursite.com</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="copyright" style="background-color:#D3DCE3;">
			<div class="container">
				<div class="row">
					<div class="col-md-6">
						Copyright &copy; 2017.Company name All rights reserved
					</div>
					<div class="col-md-6">
						<div class="pull-right">
							<ul>
								<li><img src="/images/visa-curved-32px.png" /></li>
								<li><img src="/images/paypal-curved-32px.png" /></li>
								<li><img src="/images/discover-curved-32px.png" /></li>
								<li><img src="/images/maestro-curved-32px.png" /></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</footer>
	
</body>
</html>